<?php /* Smarty version Smarty-3.1.11, created on 2013-07-31 13:28:22
         compiled from "C:\xampp\htdocs\novosite\conteudosModel\menuPortal.tpl" */ ?>
<?php /*%%SmartyHeaderCode:13545516cbfb4a31275-90117309%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ac0a85cad364098b2e7dc1d5698375b89046a30e' => 
    array (
      0 => 'C:\\xampp\\htdocs\\novosite\\conteudosModel\\menuPortal.tpl',
      1 => 1375288090,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '13545516cbfb4a31275-90117309',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_516cbfb4aa4e35_40374873',
  'variables' => 
  array (
    'DADOS' => 0,
    'AREA_ATUAL' => 0,
    'PORTAL' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_516cbfb4aa4e35_40374873')) {function content_516cbfb4aa4e35_40374873($_smarty_tpl) {?><div class="container margin0">
    <div class="navbar navbar-inverse margin0">
        <div class="navbar-inner">
            <div class="container">
                <div class="nav-collapse collapse">
                    <ul class="nav">
                        <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']["i"])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']["i"]);
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['name'] = "i";
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['DADOS']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']["i"]['total']);
?>
                            <?php if ($_SESSION['id_usuario']){?>
                                <?php if ($_smarty_tpl->tpl_vars['DADOS']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['area']!="login"){?>                                
                                    <li class="<?php if ($_smarty_tpl->tpl_vars['DADOS']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['area']==$_smarty_tpl->tpl_vars['AREA_ATUAL']->value){?>active<?php }?>">
                                        <a  href="<?php echo $_smarty_tpl->tpl_vars['PORTAL']->value;?>
<?php echo $_smarty_tpl->tpl_vars['DADOS']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['area'];?>
"><?php echo $_smarty_tpl->tpl_vars['DADOS']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['descricao'];?>
</a>
                                    </li>
                                <?php }?>
                            <?php }else{ ?>
                                <li class="<?php if ($_smarty_tpl->tpl_vars['DADOS']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['area']==$_smarty_tpl->tpl_vars['AREA_ATUAL']->value){?>active<?php }?>">
                                    <a  href="<?php echo $_smarty_tpl->tpl_vars['PORTAL']->value;?>
<?php echo $_smarty_tpl->tpl_vars['DADOS']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['area'];?>
"><?php echo $_smarty_tpl->tpl_vars['DADOS']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]['descricao'];?>
</a>
                                </li>
                            <?php }?>
                        <?php endfor; endif; ?>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>

<?php }} ?>